package com.systop.busafter.user.service;
import com.systop.commer.pojo.User;
import java.util.List;

public interface UserService {
    /*
    * 修改user
    * user user
    * return int
    * csh
    */
    int updatauser(User user);
    /*
     * 注册user
     * user user(账号，密码。，手机号)
     * return int
     * csh
     * */
    int zcinsertuser(User user);
    /*
     * 账号登陆
     * user user
     * user user
     * csh
     * */
    User userLogin(User user);
    /*
     * 手机号登陆
     * user user
     * user user
     * csh
     * */
    User numuserLogin(User user);
    /*
     * 查看全部
     * 无
     * list
     * csh
     * */
    List<User> userListall();
    /*
     * 用id查看user
     * user_id  int
     * list
     * csh
     */
    List<User> userIdlist(int user_id);

    /*
     * 删除user
     * user_id  int
     * return int
     * csh
     * */
    int deleteuser(int user_id);

    /*
     * 用name查看user
     * String user_name
     * list
     * csh
     * */
    List<User> userNamelist(String user_name);
    /*
     * 用账号查看
     * user_name_n  String
     * list
     * csh
     * */
    List<User> userZhlist(String user_name_n);
    User userZhlist1(String user_name_n);
    /*
     * 用手机号查看
     * user_number  int
     * list
     * csh
     * */
    List<User> userNumlist(String user_number);

    /*
     * 用身份证号码查看
     * usercard  String
     * list
     * */
    List<User> usercard(String user_card);

}
